package cyclequeue;

public class Test {
    public static void main(String[] args) {
        MyQueue1 queue1 = new MyQueue1();
//        System.out.println(queue.size());
//        queue.offer(1);
//        System.out.println(queue.size());
//        System.out.println(queue.isEmpty());
//        queue.offer(2);
//        queue.offer(3);
//        queue.offer(4);
//        System.out.println(queue.peek());
//        System.out.println(queue.poll());
//        System.out.println(queue.peek());
//        System.out.println(queue.size());
//        MyQueue2 queue = new MyQueue2();
//        System.out.println(queue.size());
//        queue.offer(1);
//        System.out.println(queue.size());
//        System.out.println(queue.isEmpty());
//        queue.offer(2);
//        queue.offer(3);
//        queue.offer(4);
//        System.out.println(queue.peek());
//        System.out.println(queue.poll());
//        System.out.println(queue.peek());
//        System.out.println(queue.size());
    }
}
